<?php
/**
 * Created by PhpStorm.
 * User: zhangrxiang
 * Date: 2016/9/26
 * Time: 11:00
 */


echo "<br>";
$str = <<<TEST
ssssssss
TEST;
echo $str;
$str = <<<EOD

EOD;
$str = <<<EOF

EOF;

$foo = 25;
$bar = &$foo;
echo $bar;

$test = 'test';
echo ($t = &$test);
$t = 'hello';
echo $test;


$a=5;
$b=3;

//Please mind the order of these, as it's important for the outcome.

$a^=$b;
$b^=$a;
$a^=$b;

echo $a.PHP_EOL.$b;
echo '<br>';
echo PHP_SHLIB_SUFFIX;
echo "<br>";
echo PHP_CONFIG_FILE_SCAN_DIR;

echo "<br>";
echo PHP_INT_MAX;
echo "<br>";
echo "<pre>";
var_dump($_SERVER);
echo "</pre>";

